package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 销售订单对象 hh_order
 * 
 * @author ruoyi
 * @date 2021-06-15
 */
public class HhOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    private String orderId;

    /** 水电师傅 */
    @Excel(name = "水电师傅")
    private String workerId;

    /** 客户 */
    @Excel(name = "客户")
    private String consumerId;

    /** 总价 */
    @Excel(name = "总价")
    private String totalMoney;

    /** 状态(0-未打印；1-已打印；2-已结算；3-未结清；4-已结清) */
    @Excel(name = "状态(0-未打印；1-已打印；2-已结算；3-未结清；4-已结清)")
    private String orderStatus;

    /** 类型（1-销售单；2-结算单） */
    @Excel(name = "类型", readConverterExp = "1=-销售单；2-结算单")
    private String orderType;

    /** 结算单付款状态(0-未付清；1-已付清) */
    @Excel(name = "结算单付款状态(0-未付清；1-已付清)")
    private String orderSale;

    /** 结算单欠款 */
    @Excel(name = "结算单欠款")
    private String orderDebt;

    /** 结算单号 */
    @Excel(name = "结算单号")
    private String closeOrder;

    /** 开单时间 */
    @Excel(name = "开单时间")
    private String orderDate;

    /** 删除 */
    @Excel(name = "删除")
    private Long isDel;

    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setWorkerId(String workerId) 
    {
        this.workerId = workerId;
    }

    public String getWorkerId() 
    {
        return workerId;
    }
    public void setConsumerId(String consumerId) 
    {
        this.consumerId = consumerId;
    }

    public String getConsumerId() 
    {
        return consumerId;
    }
    public void setTotalMoney(String totalMoney) 
    {
        this.totalMoney = totalMoney;
    }

    public String getTotalMoney() 
    {
        return totalMoney;
    }
    public void setOrderStatus(String orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public String getOrderStatus() 
    {
        return orderStatus;
    }
    public void setOrderType(String orderType) 
    {
        this.orderType = orderType;
    }

    public String getOrderType() 
    {
        return orderType;
    }
    public void setOrderSale(String orderSale) 
    {
        this.orderSale = orderSale;
    }

    public String getOrderSale() 
    {
        return orderSale;
    }
    public void setOrderDebt(String orderDebt) 
    {
        this.orderDebt = orderDebt;
    }

    public String getOrderDebt() 
    {
        return orderDebt;
    }
    public void setCloseOrder(String closeOrder) 
    {
        this.closeOrder = closeOrder;
    }

    public String getCloseOrder() 
    {
        return closeOrder;
    }
    public void setOrderDate(String orderDate) 
    {
        this.orderDate = orderDate;
    }

    public String getOrderDate() 
    {
        return orderDate;
    }
    public void setIsDel(Long isDel) 
    {
        this.isDel = isDel;
    }

    public Long getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderId", getOrderId())
            .append("workerId", getWorkerId())
            .append("consumerId", getConsumerId())
            .append("totalMoney", getTotalMoney())
            .append("orderStatus", getOrderStatus())
            .append("orderType", getOrderType())
            .append("orderSale", getOrderSale())
            .append("orderDebt", getOrderDebt())
            .append("remark", getRemark())
            .append("closeOrder", getCloseOrder())
            .append("orderDate", getOrderDate())
            .append("isDel", getIsDel())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
